package cn.starrysky108.simpleerp.core.constant;

/**
 * @author Carl Lee
 */
public class SecurityConstants {
    /**
     * 登录链接
     */
    public static final String AUTH_LOGIN_URL = "/auth/login";
    /**
     * http认认证头
     */
    public static final String AUTH_HEADER = "Authorization";
    /**
     * token前缀，默认支持Bear token
     */
    public static final String TOKEN_PREFIX = "Bearer ";
    /**
     * token类型
     */
    public static final String TOKEN_TYPE = "JWT";
    /**
     * token签发者
     */
    public static final String TOKEN_ISSUER = "starrysky108.cn";
    /**
     * token数据字段:userId
     */
    public static final String USER_ROLES_CLAIM = "rol";
    public static final String USER_Id_CLAIM = "rol";
}
